//
//  MsgModel.m
//  ChangChat
//
//  Created by Cocoa on 2019/8/28.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "MsgModel.h"

@implementation MsgModel

- (MsgDirection)direction {
    if (self.msg.send_user_id == kUsermanager.me.ID) {
        return MsgDirection_send;
    } else {
        return MsgDirection_receive;
    }
}

@end
